Digital Optimisation Of Clinical Trials